<%if not in_sdcms then response.write("template load fail"):response.end() end if%>{sdcms:include("../../sdcms_top.asp")}
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{title}{if page>1}_第{page}页{/if}_{classname}_{sdcms[webname]} - powered by sdcms</title>
{sdcms:include("../../sdcms_base.asp")}
<script>var webroot="{webroot}";var infoid="{rsshow[cid]}";</script>
<script src="{webroot}lib/js/sdcms.hits.js"></script>
<script src="{webroot}lib/js/sdcms.down.js"></script>
{sdcms:include("../../sdcms_head.asp")}

<ul class="bread">
    <li class="text-big"><a href="{webroot}" class="icon-home"> 首页</a>{sdcms.getpostion(parentid," > ")} > 正文</li>
</ul>

<div class="padding-left padding-right margin artshow">
    <h1>{title}</h1>
    <div class="info">{sdcms.getdate(createdate,".",1)}　人气：<span id="hits">{hits}</span>
    {if iscomment=1 and syscomment}　评论：<span id="commentnum"><a href="{webroot}plug/comment.asp?id={id}">{comments}</a></span>{/if}</div>
    <ul class="list-group margin-top margin-big-bottom">
        {if rsshow[version]<>""}<li><strong>软件版本：</strong>{rsshow[version]}</li>{/if}
        {if rsshow[softsize]<>""}<li><strong>软件大小：</strong>{rsshow[softsize]}{rsshow[sizeunit]}</li>{/if}
        {if rsshow[language]<>""}<li><strong>软件语言：</strong>{rsshow[language]}</li>{/if}
        {if rsshow[license]<>""}<li><strong>软件授权：</strong>{rsshow[license]}</li>{/if}
        {if rsshow[property]<>""}<li><strong>软件属性：</strong>{rsshow[property]}</li>{/if}
        {if rsshow[os]<>""}<li><strong>操作系统：</strong>{rsshow[os]}</li>{/if}
        {if rsshow[devlanguage]<>""}<li><strong>编程语言：</strong>{rsshow[devlanguage]}</li>{/if}
        {if rsshow[database]<>""}<li><strong>数据库类型：</strong>{rsshow[database]}</li>{/if}
        {if rsshow[developerurl]<>""}<li><strong>软件作者</strong>：<a href="{rsshow[developerurl]}" target="_blank">{rsshow[developers]}</a></li>{/if}
        {if rsshow[demourl]<>""}<li><strong>软件演示URL：</strong><a href="{rsshow[demourl]}" target="_blank">{rsshow[demourl]}</a></li>{/if}
        <li><strong style="vertical-align:middle;">软件星级：</strong>{for i=1 to rsshow[stars]}<img src="{webroot}theme/default/images/star.gif" style="vertical-align:middle;" />{/for}</li>
    </ul>
    
    <h4><strong>软件简介</strong></h4><hr />
    <div class="margin-top showcontent">{content}</div>
    <div class="list_page clearfix">{get_content_page}</div>
    
    <h4><strong>下载地址</strong></h4><hr />
     <ul>
    {dim wayarr:wayarr=split(rsshow[downway],",")}
    {for i=0 to ubound(wayarr)}
        <li><a href="javascript:;" class="downlist" config="{id}:{point}:{i}">{wayarr(i)}</a></li>
    {/for}
    </ul>
    
    <ul class="pager clearfix margin-big-top">
      <li class="float-left">{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id<[id] and isurl=0 and point=0" order="id desc"}
    <a href="{$rs[link]}" title="{$rs[title]}">上一篇</a>
    {/sdcms:rs}</li>
      <li class="float-right">{sdcms:rs top="1" field="id,isurl,url,title,style,classid" table="sd_content" where="islock=1 and classid=[classid] and id>[id] and isurl=0 and point=0"}
    <a href="{$rs[link]}" title="{$rs[title]}">下一篇</a>
    {/sdcms:rs}</li>
    </ul>
    
    <div class="margin-big-top text-right margin-large-bottom">
    <button class="button win-back icon-arrow-left"> 后退</button>
    <button class="button win-backtop">返回顶部 <span class="icon-arrow-up"></span></button>
    </div>
</div>

{if iscomment=1 and syscomment and not(commentconfig(2))}
<div class="commentpost">
    <form method="post" class="form-inline form_comment">
        <div class="form-group">
            <div class="field">
            <div class="input-group"><span class="addbtn">网友：</span><input type="text" class="input" name="t0" placeholder="我也说两句" /><input type="hidden" name="t1" value="{asp sdcms.get_cityname("网友")}" /><span class="addbtn"><button type="submit" class="button bg-gray">发表</button></span></div>
            </div>
        </div>
    </form>
</div>
{/if}